package org.xinjiang.tarim.travel.service;

import org.apache.ibatis.annotations.Param;
import org.xinjiang.tarim.travel.model.File;
import org.xinjiang.tarim.travel.model.Impression;
import org.xinjiang.tarim.travel.model.Topic;
import org.xinjiang.tarim.travel.vo.Criteria;
import org.xinjiang.tarim.travel.vo.PageBean;

import java.util.List;
import java.util.Map;

public interface ImpressionService {
    Long insert(Impression impression, List<File> files, List<Topic> topics);

    Map selectByPrimaryKey(Long id);

    List<Map> selectByPrimaryKeys(List list);

    PageBean<Impression> selectByOpenid(Criteria criteria, PageBean pageBean);

    int delete(Long id);
}
